package com.ruoyi.spicfz.mapper;

import java.util.List;
import com.ruoyi.spicfz.domain.Shareholder;

/**
 * 股东信息Mapper接口
 * 
 * @author ruoyi
 * @date 2021-08-30
 */
public interface ShareholderMapper 
{
    /**
     * 查询股东信息
     * 
     * @param shareholderId 股东信息ID
     * @return 股东信息
     */
    public Shareholder selectShareholderById(Long shareholderId);

    /**
     * 查询股东信息列表
     * 
     * @param shareholder 股东信息
     * @return 股东信息集合
     */
    public List<Shareholder> selectShareholderList(Shareholder shareholder);

    /**
     * 新增股东信息
     * 
     * @param shareholder 股东信息
     * @return 结果
     */
    public int insertShareholder(Shareholder shareholder);

    /**
     * 修改股东信息
     * 
     * @param shareholder 股东信息
     * @return 结果
     */
    public int updateShareholder(Shareholder shareholder);

    /**
     * 删除股东信息
     * 
     * @param shareholderId 股东信息ID
     * @return 结果
     */
    public int deleteShareholderById(Long shareholderId);

    /**
     * 批量删除股东信息
     * 
     * @param shareholderIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteShareholderByIds(String[] shareholderIds);
}
